{% extends "registration/main.html" %}

{% block page_title %}{{ block.super }} - Log in{% endblock %}

{% block content %}

<h2>Log in</h2>

{% if form.errors %}
    <p class="error">Please correct the errors below:</p>
{% endif %}

<form method="post" action="?next={{ next|default:"/" }}" id="login">
{{ form.as_p }}
<p><input type="submit" value="Log in" /></p>
</form>
{% endblock %}